package com.example.finance_oa.mapper;

import com.example.comment_oa.pojos.Process;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos_vo.AdditionalVo;
import com.example.comment_oa.pojos_vo.AdjustVo;
import com.example.comment_oa.pojos_vo.ProcessVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Jin
* @description 针对表【process】的数据库操作Mapper
* @createDate 2023-10-20 14:52:24
* @Entity com.example.finance_oa.pojos.Process
*/
@Mapper
public interface ProcessMapper extends BaseMapper<Process> {
        //查询所有预算调整流程
    List<Process> allProcess(ProcessVo processVo);

    //新增追加流程
   int insertZjlc(AdditionalVo additionalVo);

   //新增变更流程
    int  insertBglc(AdjustVo adjustVo);


     //根据流程编号查追加表
    List<Process> selectAllByProcessBh(String processBh);


    //
    List<Process> selectAllByProcessBh2(String processBh);

    //根据流程编号该状态
    int updateProcessState(String processBh);

    //根据流程编号修改状态
    int updateProcessState1(String processBh);


}




